diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/bid/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/bid/page.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/bid/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/bid/page.tsx index 973593d8..55dbae32 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/bid/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/bid/page.tsx @@ -17,6 +17,7 @@ export const metadata = { } interface IndexPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams> } @@ -24,6 +25,7 @@ export default async function BiddingsPage(props: IndexPageProps) { // ✅ nuqs searchParamsCache로 파싱 (타입 안전성 보장) const searchParams = await props.searchParams const search = searchParamsCache.parse(searchParams) + const {lng} = await props.params const validFilters = getValidFilters(search.filters) @@ -42,7 +44,7 @@ export default async function BiddingsPage(props: IndexPageProps) { {/* ═══════════════════════════════════════════════════════════════ */} {/* 페이지 헤더 */} {/* ═══════════════════════════════════════════════════════════════ */} - <BiddingsPageHeader /> + <BiddingsPageHeader lng={lng} /> {/* ═══════════════════════════════════════════════════════════════ */} {/* 메인 테이블 */} |
